package appapi.service.impl;

import appapi.dao.SelfcheckdetailMapper;
import appapi.dao.SelfcheckitemMapper;
import appapi.entity.app.SelfcheckDetailEntity;
import appapi.service.SelfcheckDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 请求对象
 *
 * @author luocheng
 * @version 1.0
 * @date 2023/05/30 10:13
 */
@Service
public class SelfcheckDetailServiceImpl implements SelfcheckDetailService {
    @Autowired
    private SelfcheckdetailMapper selfcheckdetailMapper;
    /**
     * 增加
     *
     * @param entityList 对象
     * @return
     */
   public int insertBatch(List<SelfcheckDetailEntity> entityList)
   {
       return selfcheckdetailMapper.insertBatch(entityList);
   }

    /**
     * 删除
     *
     * @param selfId ID
     * @return
     */
    public int deleteBySelfId(Long selfId)
    {
        return selfcheckdetailMapper.deleteBySelfId(selfId);
    }
}
